package com.ruoyi.web.sso.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 摄像头对象 liveroom
 * 
 * @author qiufeng
 * @date 2022-12-13
 */
public class LiveRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 地址 */
    @Excel(name = "地址")
    private String url;

    /** 播放开始时间 */
    @Excel(name = "播放开始时间")
    private String startTime;

    /** 播放结束时间 */
    @Excel(name = "播放结束时间")
    private String endTime;

    /** 地域 */
    @Excel(name = "地域")
    private String aid;

    /**  */
    @Excel(name = "")
    private String HDUrl;

    /**  */
    @Excel(name = "")
    private Integer publicShow;

    /**  */
    @Excel(name = "")
    private Integer active;

    /**  */
    @Excel(name = "")
    private String thumbUrl;

    /**  */
    @Excel(name = "")
    private Long type;

    /**  */
    @Excel(name = "")
    private String yingshiId;

    /** 教学区域id */
    @Excel(name = "教学区域id")
    private String teachingAreaId;

    /** 通道号 */
    @Excel(name = "通道号")
    private Long channelNo;

    /** 录像机序列号 */
    @Excel(name = "录像机序列号")
    private String deviceSerial;

    /** 地址异常状态 */
    @Excel(name = "地址异常状态")
    private Long exception;

    /** HLS流畅直播地址 */
    @Excel(name = "HLS流畅直播地址")
    private String hls;

    /** HLS高清直播地址 */
    @Excel(name = "HLS高清直播地址")
    private String hlsHd;

    /** 地址使用状态 */
    @Excel(name = "地址使用状态")
    private Long status;

    /** 地址使用状态中文 */
    @Excel(name = "地址使用状态中文")
    private String statusVal;

    /** 此摄像头开放时间段 */
    @Excel(name = "此摄像头开放时间段")
    private String openTime;

    /** 直播方式 2 RTMP ,1 EZOPEN */
    @Excel(name = "直播方式 2 RTMP ,1 EZOPEN")
    private Long liveWay;

    /** 直播方式 RTMP (默认) EZOPEN */
    @Excel(name = "直播方式 RTMP (默认) EZOPEN")
    private String liveWayVal;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date lastModify;

    /** ip权限 */
    @Excel(name = "ip权限")
    private String ipAuth;

    /** ip通道号 */
    @Excel(name = "ip通道号")
    private String ipChannel;

    /** ip地址 */
    @Excel(name = "ip地址")
    private String ipUrl;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setAid(String aid) 
    {
        this.aid = aid;
    }

    public String getAid() 
    {
        return aid;
    }
    public void setHDUrl(String HDUrl) 
    {
        this.HDUrl = HDUrl;
    }

    public String getHDUrl() 
    {
        return HDUrl;
    }
    public void setPublicShow(Integer publicShow) 
    {
        this.publicShow = publicShow;
    }

    public Integer getPublicShow() 
    {
        return publicShow;
    }
    public void setActive(Integer active) 
    {
        this.active = active;
    }

    public Integer getActive() 
    {
        return active;
    }
    public void setThumbUrl(String thumbUrl) 
    {
        this.thumbUrl = thumbUrl;
    }

    public String getThumbUrl() 
    {
        return thumbUrl;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setYingshiId(String yingshiId) 
    {
        this.yingshiId = yingshiId;
    }

    public String getYingshiId() 
    {
        return yingshiId;
    }
    public void setTeachingAreaId(String teachingAreaId) 
    {
        this.teachingAreaId = teachingAreaId;
    }

    public String getTeachingAreaId() 
    {
        return teachingAreaId;
    }
    public void setChannelNo(Long channelNo) 
    {
        this.channelNo = channelNo;
    }

    public Long getChannelNo() 
    {
        return channelNo;
    }
    public void setDeviceSerial(String deviceSerial) 
    {
        this.deviceSerial = deviceSerial;
    }

    public String getDeviceSerial() 
    {
        return deviceSerial;
    }
    public void setException(Long exception) 
    {
        this.exception = exception;
    }

    public Long getException() 
    {
        return exception;
    }
    public void setHls(String hls) 
    {
        this.hls = hls;
    }

    public String getHls() 
    {
        return hls;
    }
    public void setHlsHd(String hlsHd) 
    {
        this.hlsHd = hlsHd;
    }

    public String getHlsHd() 
    {
        return hlsHd;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setStatusVal(String statusVal) 
    {
        this.statusVal = statusVal;
    }

    public String getStatusVal() 
    {
        return statusVal;
    }
    public void setOpenTime(String openTime) 
    {
        this.openTime = openTime;
    }

    public String getOpenTime() 
    {
        return openTime;
    }
    public void setLiveWay(Long liveWay) 
    {
        this.liveWay = liveWay;
    }

    public Long getLiveWay() 
    {
        return liveWay;
    }
    public void setLiveWayVal(String liveWayVal) 
    {
        this.liveWayVal = liveWayVal;
    }

    public String getLiveWayVal() 
    {
        return liveWayVal;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setLastModify(Date lastModify) 
    {
        this.lastModify = lastModify;
    }

    public Date getLastModify() 
    {
        return lastModify;
    }
    public void setIpAuth(String ipAuth) 
    {
        this.ipAuth = ipAuth;
    }

    public String getIpAuth() 
    {
        return ipAuth;
    }
    public void setIpChannel(String ipChannel) 
    {
        this.ipChannel = ipChannel;
    }

    public String getIpChannel() 
    {
        return ipChannel;
    }
    public void setIpUrl(String ipUrl) 
    {
        this.ipUrl = ipUrl;
    }

    public String getIpUrl() 
    {
        return ipUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("url", getUrl())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("aid", getAid())
            .append("createTime", getCreateTime())
            .append("HDUrl", getHDUrl())
            .append("publicShow", getPublicShow())
            .append("active", getActive())
            .append("thumbUrl", getThumbUrl())
            .append("type", getType())
            .append("yingshiId", getYingshiId())
            .append("teachingAreaId", getTeachingAreaId())
            .append("channelNo", getChannelNo())
            .append("deviceSerial", getDeviceSerial())
            .append("exception", getException())
            .append("hls", getHls())
            .append("hlsHd", getHlsHd())
            .append("status", getStatus())
            .append("statusVal", getStatusVal())
            .append("openTime", getOpenTime())
            .append("liveWay", getLiveWay())
            .append("liveWayVal", getLiveWayVal())
            .append("orderNum", getOrderNum())
            .append("lastModify", getLastModify())
            .append("ipAuth", getIpAuth())
            .append("ipChannel", getIpChannel())
            .append("ipUrl", getIpUrl())
            .toString();
    }
}
